/*
* SPI_functions.h
*
* Created on: 26 may 2018.
* Author: Bohdan
*/
#ifndef SPI_FUNCTIONS_H_
#define SPI_FUNCTIONS_H_
#include "stm32f4xx_hal.h"
void Set_sensors(uint8_t CR0_content, uint8_t CR1_content, TC_type_t* Type);
void Set_1_sensor(uint8_t CR0_content, uint8_t CR1_content, TC_type_t Type, uint8_t channel);
void get_fault_regs (uint8_t* Buff);
void get_temp_value ( uint32_t* Temp_arr);
#endif /* SPI_FUNCTIONS_H_ */